﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Matrix.MaKaYunShang.Model.MatrixCloudApi
{
    public class MxApiWeChatMsgTemplateListItem
    {
        /// <summary>
        /// 模板ID
        /// </summary>
        [DataMember(Name = "template_id")]
        [Display(Name = "模板ID")]
        public string template_id { get; set; }

        /// <summary>
        /// 模板标题
        /// </summary>
        [DataMember(Name = "title")]
        [Display(Name = "模板标题")]
        public string title { get; set; }

        /// <summary>
        /// 模板所属行业的一级行业
        /// </summary>
        [DataMember(Name = "primary_industry")]
        [Display(Name = "模板所属行业的一级行业")]
        public string primary_industry { get; set; }

        /// <summary>
        /// 模板所属行业的二级行业
        /// </summary>
        [DataMember(Name = "deputy_industry")]
        [Display(Name = "模板所属行业的二级行业")]
        public string deputy_industry { get; set; }

        /// <summary>
        /// 模板内容
        /// </summary>
        [DataMember(Name = "content")]
        [Display(Name = "模板内容")]
        public string content { get; set; }

        /// <summary>
        /// 模板示例
        /// </summary>
        [DataMember(Name = "example")]
        [Display(Name = "模板示例")]
        public string example { get; set; }

    }

    public class MxApiWechatMsgTemplateList
    {
        public List<MxApiWeChatMsgTemplateListItem> template_list { get; set; }
    }
}
